package org.lboot.flow.model.node;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author kindear
 * 并行网关模型
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ParallelGatewayModel extends BaseModel{
    @ApiModelProperty(value = "条件列表")
    List<ConditionModel> conditions;
    /**
     * Node ID 列表
     */
    @ApiModelProperty(value = "节点列表")
    List<String> nodeIds;

    /**
     * 决策器ID
     */
    @Deprecated
    String decisionMaker;
    /**
     * 网关策略 fork join
     */
    @Deprecated
    String strategy;
}
